<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	var base = "${base}/";
</script>
<!--框架必需-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery-1.7.1.js"></script>
<script type="text/javascript" src="${base}/scripts/framework.js"></script>
<script type="text/javascript" src="${base}/scripts/area/area.js"></script>
<link href="${base}/css/import_basic.css" rel="stylesheet" type="text/css" />
<link href="${base}/css/sky/style.css" rel="stylesheet" type="text/css" />
<!--表单验证脚本-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery.validate.min.js"></script>
</head>
<body>
	<div class="position">
		<div class="center">
			<div class="left">
				<div class="right">
					<span>当前位置：管理员管理 >> 新增管理员</span>
				</div>
			</div>
		</div>
	</div>
	<div class="box1" whiteBg="true">
		<form action="${base}/oauth/user/updateUser.action" id="update_form" method="post" target="user_right">
			<table class="tableStyle" transMode="true">
				<tr>
					<input type="hidden" id="user.id" value="${(user.id)!''}" name="user.id"/>
					<td>登录名称：</td>
					<td>
						<input type="text" id="user.username" name="user.username" value="${(user.username)!''}" autocomplete="off" class="text_style"/>
						<span class="star">*</span>
					</td>
				</tr>
				<tr>
					<td>请输入真实姓名：</td>
					<td>
						<input type="text" name="user.realName" id="user_realName" value="${(user.realName)!''}" class="text_style"/>
						<span class="star">*</span>
					</td>
				</tr>
				<tr>
					<td>请输入联系电话：</td>
					<td>
						<input type="text" id="user.telephone" name="user.telephone" value="${(user.telephone)!''}" class="text_style"/>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>请输入电子邮箱：</td>
					<td>
						<input type="text" id="user.email" name="user.email" value="${(user.email)!''}" class="text_style"/>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>请选择联系地址：</td>
					<td>
						<select id="s_province" name="s_province"></select>&nbsp;&nbsp; 
						<select id="s_city" name="s_city"></select>&nbsp;&nbsp; 
						<select id="s_county" name="s_county"></select>  
						<script type="text/javascript">
								_init_area();
							</script> 
						<input type="hidden" name="user.comefrom" id="user_comefrom" value=""/> 
					</td>
				</tr>
				<tr>
					<td>请输入详细地址：</td>
					<td>
						<input type="text" style="width:200px;" name="user.address" value="${(user.address)!''}" class="text_style"/>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" onclick="getComefrom()" id="form_submit" class="button" value=" 提 交 " /> 
						<input type="reset" class="button" value=" 重 置 " />
						<input type="button" class="button" onclick="top.Dialog.close()" value=" 关 闭" />
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
<script type="text/javascript">
function getComefrom() {
	var comefrom = $("#s_province").val() + " " + $("#s_city").val() + " " + $("#s_county").val();
	$("#user_comefrom").val(comefrom);
}
</script>
